package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.common.core.domain.BaseVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 * 隐患整改及复查
 * </p>
 * @author WuZH
 * @since 2024-05-14
 */
@Getter
@Setter
@TableName ("erp_project_review_info")
@ApiModel (value = "隐患整改及复查", description = "隐患整改及复查")
public class ProjectReviewEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("项目Id")
    @TableField ("project_id")
    private String projectId;

    @ApiModelProperty ("检查日期")
    @TableField ("inspect_time")
    private Date inspectTime;

    @ApiModelProperty ("检查单位")
    @TableField ("inspect_company")
    private String inspectCompany;

    @ApiModelProperty ("检查标识")
    @TableField ("inspect_flag")
    private String inspectFlag;

    @ApiModelProperty ("隐患类型")
    @TableField ("hidden_danger_type")
    private String hiddenDangerType;

    @ApiModelProperty ("隐患级别;1:重大隐患;2:一般隐患")
    @TableField ("hidden_danger_level")
    private Integer hiddenDangerLevel;

    @ApiModelProperty ("当前防范措施")
    @TableField ("current_measures")
    private String currentMeasures;

    @ApiModelProperty ("隐患内容")
    @TableField ("hidden_danger_content")
    private String hiddenDangerContent;

    @ApiModelProperty ("通知方式;1:口头;2:书面;3:电话;4:微信;5:会议;6:邮件")
    @TableField ("notice_type")
    private Integer noticeType;

    @ApiModelProperty ("整改完成期限")
    @TableField ("change_end_time")
    private Date changeEndTime;

    @ApiModelProperty ("备注")
    @TableField ("remarks")
    private String remarks;

    @ApiModelProperty ("添加人Id")
    @TableField ("user_id")
    private String userId;

    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    private Date createTime;

    @ApiModelProperty ("更新时间")
    @TableField ("change_time")
    private Date changeTime;

    @TableField ("is_used")
    private Integer isUsed;


}
